Ext.namespace("Project.Main");

Project.Main = function(){
	
	var tabs = new Ext.TabPanel( {
		 renderTo:'tabs',
        resizeTabs:true, // turn on tab resizing
        minTabWidth: 115,
        tabWidth:135,
        enableTabScroll:true,
        width:600,
        height:250,
        defaults: {autoScroll:true},
        plugins: new Ext.ux.TabCloseMenu()
		
		
	});
	new Ext.Button({
        text: 'Add Tab',
        handler: addTab,
        iconCls:'new-tab'
    }).render(document.body, 'tabs');
	
};
	
	Ext.onReady(function(){
		 Ext.QuickTips.init();
		 Ext.form.Field.prototype.msgTarget = 'side';
		 Ext.BLANK_IMAGE_URL = '../resources/images/default/s.gif';
		 new Project.Main();
	});